home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
flyer
/
imagefx.rexx
Wrap
OS/2 REXX Batch file
|
2004-08-03
|
743b
|
35 lines
/*
* ImageFX.rexx -- Flyer program to launch ImageFX
*
* Copyright © 1996 Nova Design, Inc.
* Written by Thomas Krehbiel
*
* Copy this script to the "NewTek/ARexx/Editor/" directory to use.
*
*/
OPTIONS RESULTS
call remlib('PROJECT_REXX_PORT')
call remlib('ToasterARexx.port')
call remlib('rexxsupport.library')
call ADDLIB("rexxsupport.library", 0,-30,0)
call addlib('PROJECT_REXX_PORT', 0)
call addlib('ToasterARexx.port',0)
/* show workbench */
Switcher('TOWB')
IF ~SHOW('P', 'IMAGEFX.1') THEN DO
/* run ImageFX */
ADDRESS COMMAND "ImageFX:ImageFX"
END
ELSE DO
/* pause a bit because TOWB is asynchronous */
DELAY 1
/* bring existing ImageFX to front */
ADDRESS 'IMAGEFX.1' 'ScreenToFront'
END
return 0